(b) if the particular amount is in respect of an amount other than an amount that is, or is deemed under section 21.32 to have been, received as a taxable dividend,i. where the taxpayer disposes of the borrowed security and includes the gain or loss, if any, from the disposition in computing income from a business, the particular amount, or
ii. in any other case, the lesser of the particular amount and the amount, if any, in respect of the security distribution to which the SLA compensation payment or dealer compensation payment relates that is included in computing the income, and not deducted in computing the taxable income, for any taxation year of the taxpayer or of any person to whom the taxpayer is related.